// video base class, added by regret
#ifndef _VIDEO_H_
#define _VIDEO_H_

class Video {
public:
	virtual int init() { return 0; }
	virtual int exit() { return 0; }
	virtual int frame(bool redraw = false) { return 0; }
	virtual int paint(int validate) { return 0; }
	virtual int scale(void* rect, unsigned w, unsigned h) { return 0; }
	virtual int set(const wchar_t* name, const void* value) { return 0; }
	virtual int get(void* info) { return 0; }
	virtual void clear() {}

	Video() {
	}
	virtual ~Video() {}

protected:
};

#endif
